package com.cw.demo.algorithm;

import java.util.Scanner;

/**
 * 取近似值
 *
 * @author chenw
 * @date 2021/12/8
 */
public class Approximation {
    public static void main(String[] args) {
        //取近似值
        Scanner scanner = new Scanner(System.in);
        Double d = scanner.nextDouble();
        System.out.println((int)Math.round(d));
    }
}
